package com.yxinsur.imc.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yxinsur.imc.common.annotation.Excel;
import com.yxinsur.imc.common.core.domain.BaseImcEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 协议-费用科目对象 imc_contract_expense
 *
 * @author imc
 * @date 2021-07-28
 */
@EqualsAndHashCode(callSuper = false)
@Data
public class ImcContractExpense extends BaseImcEntity {
    private static final long serialVersionUID = 1L;

    private Long id;

    @Excel(name = "供应商费用科目id")
    private Long supplierExpenseId;

    @Excel(name = "协议id")
    private Long contractId;

    @Excel(name = "费用计算规则[默认Null和空为fee=prem*fee_rate]保费乘以费用科目对应的费率")
    private String feeCalcRule;

    @Excel(name = "租户id,一个租户id唯一对一个机构id", readConverterExp = "默=认机构id为根节点id暨法人机构")
    private Long tenantId;
}
